package com.tongji.housediy.events
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/08/
	 */ 
	public class GetHouseByIDEvent extends Event
	{
		public static const GET_HOUSE_BY_ID:String = "getHouseByID";
		public static const UPDATE_HOUSE_DETAIL:String = "updateHouseDetail";
		
		public var houseID:int;
		public var houseDetail:ArrayCollection;
		
		public function GetHouseByIDEvent(type:String, houseID:int, houseDetail:ArrayCollection = null)
		{
			super(type);
			this.houseID = houseID;
			this.houseDetail = houseDetail;
		}
		
		override public function clone():Event
		{
			return new GetHouseByIDEvent(type, houseID, houseDetail);
		}
	}
}